package com.cc.service;

import com.cc.model.EbComment;

import java.util.List;

public interface CommentService {
    List<EbComment> list(int page, int pageSize);

    int getMaxPage(int pageSize);

    int save(EbComment ebComment);

    EbComment selectByCondition(Integer ecId);

    int updateById(EbComment ebComment);

    int delete(Integer id);

}
